package com.nbcio.modules.erp.base.service.impl;

import com.nbcio.modules.erp.base.entity.ErpCustomerLink;
import com.nbcio.modules.erp.base.mapper.ErpCustomerLinkMapper;
import com.nbcio.modules.erp.base.service.IErpCustomerLinkService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 客户联系人子表
 * @Author: nbacheng
 * @Date:   2024-04-16
 * @Version: V1.0
 */
@Service
public class ErpCustomerLinkServiceImpl extends ServiceImpl<ErpCustomerLinkMapper, ErpCustomerLink> implements IErpCustomerLinkService {
	
	@Autowired
	private ErpCustomerLinkMapper erpCustomerLinkMapper;
	
	@Override
	public List<ErpCustomerLink> selectByMainId(String mainId) {
		return erpCustomerLinkMapper.selectByMainId(mainId);
	}
}
